package b;

import h.RequestContext;

import java.util.Iterator;
import java.util.Map;

public abstract class Entity {
	private int _uniqueId = Integer.MIN_VALUE;

	public int getId(){
		return _uniqueId;
	}
	public void setId(int id) {
		_uniqueId = id;
	}


	public static Iterator<Entity> list(RequestContext rc) {
		return null;
	}

	public static Entity retrieve(int uniqueId) {
		return null;
	}

	public static Entity create(RequestContext rc) {
		return null;
	}

	public abstract boolean save();
	public abstract void update(Map<String,String> params);
}
